<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>type</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>type</b> -  variable type</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[i]=type(x)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x</b>
        </tt>: Scilab object</li>
      <li>
        <tt>
          <b>i</b>
        </tt>: integer</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>type(x)</b>
      </tt>  returns an integer which is the type of <tt>
        <b>x</b>
      </tt> as following :</p>
    <p>
     1 
    :  real or complex constant matrix.</p>
    <p>
     2 
    :  polynomial matrix.</p>
    <p>
     4 
    :  boolean matrix.</p>
    <p>
     5
    :  sparse matrix.</p>
    <p>
     6
    :  sparse boolean matrix.</p>
    <p>
     8
    :  matrix of integers stored on 1 2 or 4 bytes</p>
    <p>
     9
    :  matrix of graphic handles</p>
    <p>
     10 
    :  matrix of character strings.</p>
    <p>
     11 
    :  un-compiled function.</p>
    <p>
     13 
    :  compiled function.</p>
    <p>
     14 
    :  function library.</p>
    <p>
     15 
    :  list.</p>
    <p>
     16 
    :  typed list (tlist)</p>
    <p>
     17
    :  mlist</p>
    <p>
     128
    : pointer</p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="../elementary/typeof.htm">
        <tt>
          <b>typeof</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
